home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.plaf.basic;
-
- import java.awt.Component;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- import javax.swing.ListSelectionModel;
-
- final class BasicTableUI$3 implements ActionListener {
- // $FF: synthetic field
- private final BasicTableUI this$0;
-
- // $FF: synthetic method
- BasicTableUI$3(BasicTableUI var1) {
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- ListSelectionModel var2 = this.this$0.table.getSelectionModel();
- int var3 = var2.getAnchorSelectionIndex();
- ListSelectionModel var4 = this.this$0.table.getColumnModel().getSelectionModel();
- int var5 = var4.getAnchorSelectionIndex();
- this.this$0.table.editCellAt(var3, var5);
- Object var6 = this.this$0.table.hasFocus() ? this.this$0.table.getEditorComponent() : this.this$0.table;
- ((Component)var6).requestFocus();
- }
- }
-